#ifndef CHAT_H
#define CHAT_H

#include <QMainWindow>
#include <QTcpSocket>

namespace Ui {
class Chat;
}

class Chat : public QMainWindow
{
    Q_OBJECT
public:
    explicit Chat(QString msg, QWidget *parent = nullptr, QTcpSocket *cfd = nullptr);
    ~Chat();

private:
    Ui::Chat *ui;
    QTcpSocket *cfd = nullptr; 
};

#endif // CHAT_H
